<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="CSS/style.css"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Register</title>
        <script type="text/javascript"  src="Scrips/validaRegistro.js">
        </script>
    </head>
      <body id="css-meeting-planner">
        <div class="page-wrapper">
            <section class="intro"> 
                <div class="preamble" id="mp-resources">
                    <p><h2>${sessionScope['error']}</h2></p>
                    <form onsubmit="return comprobar();" action="Register" method="post">
                        <b>Select type of user:</b><br>
                        <input type=checkbox name=M checked>Manager</input>
                        <input type=checkbox name=O>Organizer</input><br>
                        <p><label id="label_name" for="name">
                                               Name
                                            </label> <input type="text" name="name" id="name"></p>
                        <p><label id="label_email" for="email">
                                                Email
                                            </label> <input type="text" name="email" id="email"></p>
                        <p><label id="label_password" for="password">
                                                Password
                                            </label> <input type="password" name="password1" id="password"></p>
                        <p><label id="label_password2" for="password2">
                                                Confirm Password
                                            </label> <input type="password" name="password2" id="password2"></p>
                        <p><input type="submit" value="Entrar"></p>
                    </form>
                </div>
            </section>
        </div>
    </body>
</html>